package com.hikvision.cms;

public class ResultUtil
 {
   public static Result success(Object object) {
/*  9 */     Result result = new Result();
/* 10 */     result.setCode(20000);
/* 11 */     result.setMessage("success");
/* 12 */     result.setData(object);
/* 13 */     return result;
   }
 
   
   public static Result success() {
/* 18 */     return success(null);
   }
 
   
   public static Result error(Integer code, String msg) {
/* 23 */     Result result = new Result();
/* 24 */     result.setCode(code.intValue());
/* 25 */     result.setMessage(msg);
     
/* 27 */     return result;
   }
 }


/* Location:              E:\桌面\hwmq_jianyuan_2.jar!\BOOT-INF\classes\com\hikvision\cms\ResultUtil.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */